package com.crm.commons.domain;

import com.crm.commons.exception.BusinessException;

/**
 * @author junxian.dou
 * @Package：com.crm.commons.domain
 * @Project：springboot-crm
 * @name：ErrorResponseData
 * @Date：2024/12/4 11:28
 * @Filename：ErrorResponseData
 * @verson 1.0.0
 * @desc
 */
public class ErrorResponseData extends ResponseData {

    public ErrorResponseData(String message) {
        super(ERROR_CODE, message);
    }

    public ErrorResponseData() {
        super(ERROR_CODE, ERROR_MSG);
    }


    public ErrorResponseData(BusinessException data) {
        super(ERROR_CODE, ERROR_MSG, data);
    }
}


